<?php
/**
 * Template Name: Home Page Template
 * The template for displaying home, welcome and landing pages.
 *
 * @package WordPress
 * @subpackage Taekwon
 * @since Taekwon 1.0
 */

get_header(); ?>

		<div id="primary">
			<div id="content" role="main">
        
        <div id="home-slideshow">
          
          <?php if (function_exists('slideshow')) { slideshow(true, "1", false, array()); } ?>
          
        </div>
        
        <?php if (!is_404()) get_sidebar('home-widgets'); ?>

				<?php while ( have_posts() ) : the_post(); ?>

					<?php get_template_part( 'home-content', 'page' ); ?>

					<?php comments_template( '', true ); ?>

				<?php endwhile; // end of the loop. ?>

			</div><!-- #content -->
		</div><!-- #primary -->

<?php get_sidebar(); ?>
<?php get_footer(); ?>